package com.naiterui.ehp.bs.cms.modules.wms.vo;

import com.naiterui.ehp.bp.support.bean.annotation.Fen2Yuan;
import com.naiterui.ehp.bs.cms.common.json.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <pre>
 *
 * </pre>
 *
 * @author fangguanhong
 * @date 2021/4/7 5:53 PM
 * @since 1.0.0
 */
@Data
@ApiModel(description = "处方平台商品列表")
public class PrescriptionPlatformProductVO implements Serializable {
    private static final long serialVersionUID = 4493733895521565131L;

    @ApiModelProperty(value = "Sku编码")
    private Long skuId;
    @ApiModelProperty(value = "编码")
    private String number;
    @ApiModelProperty(value = "商品名称")
    private String name;
    @ApiModelProperty(value = "价格")
    @Fen2Yuan
    private Integer price;
    @ApiModelProperty(value = "库存")
    private BigDecimal inventory;
    @ApiModelProperty(value = " 安全分类，1：处方药；2：otc")
    @Dict(type = "product_nmpa_type")
    private Integer nmpaType;
    @ApiModelProperty(value = "批准文号")
    private String approvalNumber;
    @ApiModelProperty(value = "批准日期")
    private String approvalAt;
    @ApiModelProperty(value = "生产厂商")
    private String productionEnterprise;
    @ApiModelProperty(value = "状态(0:下架,1:正常)")
    private Integer status;
    @ApiModelProperty(value = "资料完整  0：不完整，1：完整")
    private Integer dataIntegrity;
    @ApiModelProperty(value = "分类id")
    private Long categoryId;
    @ApiModelProperty(value = "分类名")
    private String categoryName;

}
